package my.assistant.homecashmanager.tally.data;

import java.math.BigDecimal;
import java.util.Date;

public class JournalAccount {
	private String id;// 交易流水ID
	private Date dealDate;// 交易日期
	private String dataFrom;// 数据来源
	private Long inoutItemId;// 收支项目ID
	private String inoutItemName;// 收支项目名称
	private String inoutItemType;// 收支项目类型，1:收入;0:支出;2:存取款;3:转账
	/**
	 * 收入账户与支出账户的名称应根据账户类型到相应的表中获取。为了提高效率，用户登录时将该用户所有的账户信息加载到内存中
	 */
	private String inAccountId;// 收入账户ID
	private String inAccountName;// 收入账户Name
	private String outAccountId;// 支出账户ID
	private String outAccountName;// 支出账户Name
	private BigDecimal money;// 金额
	private String moneyType = "01";// 币种，默认为RMB
	private String memo;// 备注
	private String relationUserId;// 关联人员ID
	private String relationUserName;// 关联人员名称
	private String logUserId;// 记录（账）人员ID
	private String logUserName;// 记录（账）人员名称
	private String logUserHomeId;// 记录（账）人员所属家庭ID

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getDealDate() {
		return dealDate;
	}

	public void setDealDate(Date dealDate) {
		this.dealDate = dealDate;
	}

	public String getDataFrom() {
		return dataFrom;
	}

	public void setDataFrom(String dataFrom) {
		this.dataFrom = dataFrom;
	}

	public Long getInoutItemId() {
		return inoutItemId;
	}

	public void setInoutItemId(Long inoutItemId) {
		this.inoutItemId = inoutItemId;
	}

	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getRelationUserId() {
		return relationUserId;
	}

	public void setRelationUserId(String relationUserId) {
		this.relationUserId = relationUserId;
	}

	public String getLogUserId() {
		return logUserId;
	}

	public void setLogUserId(String logUserId) {
		this.logUserId = logUserId;
	}

	public String getInoutItemName() {
		return inoutItemName;
	}

	public void setInoutItemName(String inoutItemName) {
		this.inoutItemName = inoutItemName;
	}

	public String getRelationUserName() {
		return relationUserName;
	}

	public void setRelationUserName(String relationUserName) {
		this.relationUserName = relationUserName;
	}

	public String getLogUserName() {
		return logUserName;
	}

	public void setLogUserName(String logUserName) {
		this.logUserName = logUserName;
	}

	public String getInAccountId() {
		return inAccountId;
	}

	public void setInAccountId(String inAccountId) {
		this.inAccountId = inAccountId;
	}

	public String getInAccountName() {
		return inAccountName;
	}

	public void setInAccountName(String inAccountName) {
		this.inAccountName = inAccountName;
	}

	public String getOutAccountId() {
		return outAccountId;
	}

	public void setOutAccountId(String outAccountId) {
		this.outAccountId = outAccountId;
	}

	public String getOutAccountName() {
		return outAccountName;
	}

	public void setOutAccountName(String outAccountName) {
		this.outAccountName = outAccountName;
	}

	public String getLogUserHomeId() {
		return logUserHomeId;
	}

	public void setLogUserHomeId(String logUserHomeId) {
		this.logUserHomeId = logUserHomeId;
	}

	public String getInoutItemType() {
		return inoutItemType;
	}

	public void setInoutItemType(String inoutItemType) {
		this.inoutItemType = inoutItemType;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}
}
